﻿@model _8_19_Homework.Models.View2VM
@{
    ViewBag.Title = "View2";
}
<h1>This is the second view</h1>
    <h2>This is a view of two animals</h2>
<div class="jumbotron">
    <h3>The first animal is</h3>
    <h4>@Model.animal[0].Name</h4>
    <h4>That has @Model.animal[0].Legs legs</h4>
    <h4>and makes the sound @Model.animal[0].Sound()</h4>
    </div>
<div class="jumbotron">
    <h3>The second animal is</h3>
    <h4>@Model.animal[1].Name</h4>
    <h4>That has @Model.animal[1].Legs legs</h4>
    <h4>and makes the sound @Model.animal[1].Sound()</h4>
</div>